summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2024-01-21 19:18:18 +0100
committergerman77 <juangerman-13@hotmail.com>2024-01-21 19:18:18 +0100
commita7620a29be99336108ef87f2a70d7ce6ee7bdcbb (patch)
treed75f1829b00c22d20da61daf8680aad664bfbfe1
parentMerge pull request #12720 from t895/return-to-global (diff)
downloadyuzu-a7620a29be99336108ef87f2a70d7ce6ee7bdcbb.tar
yuzu-a7620a29be99336108ef87f2a70d7ce6ee7bdcbb.tar.gz
yuzu-a7620a29be99336108ef87f2a70d7ce6ee7bdcbb.tar.bz2
yuzu-a7620a29be99336108ef87f2a70d7ce6ee7bdcbb.tar.lz
yuzu-a7620a29be99336108ef87f2a70d7ce6ee7bdcbb.tar.xz
yuzu-a7620a29be99336108ef87f2a70d7ce6ee7bdcbb.tar.zst
yuzu-a7620a29be99336108ef87f2a70d7ce6ee7bdcbb.zip
-rw-r--r--src/core/hle/service/set/system_settings_server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/set/system_settings_server.cpp b/src/core/hle/service/set/system_settings_server.cpp
index 87242ae68..2e5785fed 100644
--- a/src/core/hle/service/set/system_settings_server.cpp
+++ b/src/core/hle/service/set/system_settings_server.cpp
@@ -1038,6 +1038,11 @@ void ISystemSettingsServer::SetBluetoothEnableFlag(HLERequestContext& ctx) {
}
void ISystemSettingsServer::GetMiiAuthorId(HLERequestContext& ctx) {
+ if (m_system_settings.mii_author_id.IsInvalid()) {
+ m_system_settings.mii_author_id = Common::UUID::MakeDefault();
+ SetSaveNeeded();
+ }
+
LOG_INFO(Service_SET, "called, author_id={}",
m_system_settings.mii_author_id.FormattedString());